﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SimStatus.Core
{
    public class StatusEntity : INotifyPropertyChanged
    {
        private String _ccid = String.Empty;
        private String _imei = String.Empty;
        private String _cops = String.Empty;
        private String _cgmm = String.Empty;
        private double _csq = 0;
        public String CCID
        {
            get { return _ccid; }
            set
            {
                _ccid = value;
                PropertyChanged.Invoke(this, new PropertyChangedEventArgs("CCID"));
            }
        }
        public String IMEI
        {
            get { return _imei ; }
            set
            {
                _imei = value;
                PropertyChanged.Invoke(this, new PropertyChangedEventArgs("IMEI"));
            }
        }
        public String COPS
        {
            get { return _cops; }
            set
            {
                _cops = value;
                PropertyChanged.Invoke(this, new PropertyChangedEventArgs("COPS"));
            }
        }
        public String CGMM
        {
            get { return _cgmm ; }
            set
            {
                _cgmm = value;
                PropertyChanged.Invoke(this, new PropertyChangedEventArgs("CGMM"));
            }
        }
        public Double CSQ
        {
            get { return _csq ; }
            set
            {
                _csq = value;
                PropertyChanged.Invoke(this, new PropertyChangedEventArgs("CSQ"));
            }
        }

        

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
